Strange process behavior
am 20.09.2010 17:52:50 von Sharon Pattison--000e0cd146c6a0cdd80490b2e764
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable
Hi,
We are experiencing a strange problem on our web servers for our site, and
are not sure if the problem is mod_perl related, but thought we would turn
here for help in case someone else has experienced this issue.
Unfortunately, we are not sure exactly when the problem started, so we can=
=92t
point to any particular change that might have prompted it.
We are using Apache 1.3.42 with mod_perl 1.31 and Perl 5.8.3 on Solaris 9.
What is happening is that a particular Apache child process starts having a=
n
issue where the wrong content is being returned for a request. The content
returned is always from the correct script, but it has the wrong data. For
example, if we request a product detail page for a particular product, we
might get a different product, or we might get a message that the product
does not exist, when it does.
After adding a lot of logging to our logs, we discovered that the Apache
request object will have the correct information, but the CGI object never
seems to get the global values reset, so is always has the query_string of
the request where things started to go wrong. The process will continue to
get and respond to requests, but the CGI object=92s query_string never
changes, so the user either gets no information or the wrong information.
For example, if we had a request for mysite.com/product?sku=3D12345, and th=
e
process that served this request starts to have the problem, then we see
that for every request that process gets, logging $q->query_string gives us
=91sku=3D12345=92. It seems like the initialize_globals() CGI method is ne=
ver
being executed in the process cleanup.
There doesn=92t seem to be any particular request that triggers this
behavior. We have checked the server load when we discover the issue is
occurring and everything seems normal. The problem process does not seem t=
o
be using any more memory or CPU than any of the other processes, and the
number of processes is fine.
Has anyone experienced anything like this? Any ideas how we can track down
the problem?
Thank you in advance for any help you can give us.
Sharon
--000e0cd146c6a0cdd80490b2e764
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: quoted-printable
face=3D"Calibri">We are experiencing a strange problem on our web servers =
for our site, and are not sure if the problem is mod_perl related, but thou=
ght we would turn here for help in case someone else has experienced this i=
ssue.=A0 Unfortunately, we are not sure exactly when the problem started, s=
o we can=92t point to any particular change that might have prompted it.
ont>
=3D"Calibri">=A0
face=3D"Calibri">We are using Apache 1.3.42 with mod_perl 1.31 and Perl 5.=
8.3 on Solaris 9.=A0 What is happening is that a particular Apache child pr=
ocess starts having an issue where the wrong content is being returned for =
a request.=A0 The content returned is always from the correct script, but i=
t has the wrong data.=A0 For example, if we request a product detail page f=
or a particular product, we might get a different product, or we might get =
a message that the product does not exist, when it does.
=3D"Calibri">=A0
face=3D"Calibri">After adding a lot of logging to our logs, we discovered =
that the Apache request object will have the correct information, but the C=
GI object never seems to get the global values reset, so is always has the =
query_string of the request where things started to go wrong.=A0 The proces=
s will continue to get and respond to requests, but the CGI object=92s quer=
y_string never changes, so the user either gets no information or the wrong=
information.
=3D"Calibri">=A0
face=3D"Calibri">For example, if we had a request for
site.com/product?sku=3D12345">mysite.com/product?sku=3D12345, and the p=
rocess that served this request starts to have the problem, then we see tha=
t for every request that process gets, logging $q->query_string gives us=
=91sku=3D12345=92.=A0 It seems like the initialize_globals() CGI method is=
never being executed in the process cleanup.
=3D"Calibri">=A0
face=3D"Calibri">There doesn=92t seem to be any particular request that tr=
iggers this behavior.=A0 We have checked the server load when we discover t=
he issue is occurring and everything seems normal.=A0 The problem process d=
oes not seem to be using any more memory or CPU than any of the other proce=
sses, and the number of processes is fine.
=3D"Calibri">=A0
face=3D"Calibri">Has anyone experienced anything like this?=A0 Any ideas h=
ow we can track down the problem?
face=3D"Calibri">=A0
face=3D"Calibri">Thank you in advance for any help you can give us.=
=3D"Calibri">=A0
=3D"Calibri">Sharon
--000e0cd146c6a0cdd80490b2e764--